package demo.liu.two.common;


/**
 * @ClassName Constant
 * @Description 常量类
 * @Author Liujt
 * @Date 2019/11/19 17:56
 **/
public class Constant {
    /**
     * swagger项目显示标题
     */
    public static final String PROJECT_TITLE = "模块标题:用户中心";
    /**
     * swagger项目显示描述
     */
    public static final String PROJECT_description = "模块描述:用户信息管理";
    /**
     * 项目版本
     */
    public static final String PROJECT_VERSION = "1.0";
    /**
     * swagger controller层目录
     */
    public static final String PROJECT_BASE_PACKAGE = "org.cs.dp.ucenter.controller";


    //组织提示信息
    public static final String COMMON_ID_CARD = "身份证信息错误!";

    /**
     * 租户提示信息
     */
    public static final String CUSTOMER_NAME_ISEMPTY_MSG = "租户名称不能为空!";
    public static final String CUSTOMER_OUT_NAME = "云视讯账号不能为空!";
    public static final String CUSTOMER_OUT_PWD = "云视讯密码不能为空!";
    public static final String CUSTOMER_NAME_EXIST_MSG = "租户已存在!";
    public static final String CUSTOMER_STATUS_ISEMPTY_MSG = "租户状态不能为空!";
    public static final String CUSTOMER_ID_ISEMPTY_MSG = "未选择租户!";
    public static final String CUSTOMER_DOMAINNAME = "二级域名不能为空!";
    public static final String CUSTOMER_EXIST_DOMAINNAME = "二级域名已存在!";
    //组织提示信息
    public static final String ORG_ID_ISEMPTY_MSG = "未选择组织!";
    public static final String ORG_PREID_ID_MSG = "未选择父节点!";

    /**
     * 用户登录提示信息
     */
    public static final String USER_LOGIN_MSG = "请输入登录名";
    public static final String USER_NAME_ERROR_MSG = "用户名不合法";
    public static final String PWD_LOGIN_MSG = "请输入登录密码";

    /**
     * 重置密码
     */
    public static final String RESET_PWD_ID_MSG = "用户ID不能为空";
    public static final String RESET_PWD_OLD_MSG = "当前密码不能为空";
    public static final String RESET_PWD_NEW_MSG = "新密码不能为空";

    public static final String USER_NAME_MSG = "用户名不能为空!";
    public static final String PWD_MSG = "密码不能为空!";
    public static final String NAME_NO_EXIST_MSG = "用户不存在!";
    public static final String NAME_NO_ROLE_MSG = "权限不足!";
    public static final String NAME_EXIST_MSG = "用户已存在!";
    public static final String EMAIL_EXIST_MSG = "邮箱已注册!";
    public static final String PWD_ERROR_MSG = "密码错误!";
    public static final String NOW_PWD_ERROR_MSG = "原始密码不正确!";
    public static final String PWD_NULL_MSG = "请输入当前密码!";
    public static final String EMAIL_EMPTY_MSG = "邮箱不能为空!";
    public static final String TEL_EMPTY_MSG = "登录名不能为空!";
    public static final String PHONE_EXIST_MSG = "手机号已注册!";
    public static final String PHONE_WRONGFUL_MSG = "手机号格式不正确!";
    public static final String QNAME_NO_EXIST_MSG = "用户姓名不能为空!";

    public static final String DOMAINNAME_NO_USER = "当前租户下没有此域名!";
    /**
     * 租户
     */
    public static final String CUS_EXP_MSG = "您所在租户已过期!";

    public static final String EXCEPTION_MSG = "服务异常!";

    public static final String DATA_ERROR_MSG = "数据异常，请联系管理员!";

    /**
     * 1天
     */
    public static final Long ONE_DAY = 86400L;

    /*//服务缓存
    public static final String SERVER_INFO = RedisConstant.REDIS_CACHE + "service:";
    //授权有效时间
    public static final String INDEX_LICENSE_INFO = RedisConstant.REDIS_CACHE + "license:";
    public static final Long LICENSE_EXPIRE = 7200L;
    *//**
     * 租户缓存
     *//*
    public static final String CUSTOMER_INFO = RedisConstant.REDIS_CACHE + "customer:";
    *//**
     * 用户统计
     *//*
    public static final String  INDEX_USERCOUNT = RedisConstant.REDIS_CACHE + "index:userCount:";
    *//**
     * 租户的客服代表
     *//*
    public static final String INDEX_SUPERUSER = RedisConstant.REDIS_CACHE + "index:superuser:";

    *//**
     * 用户 组织 设备
     *//*
    public static final String INDEX_USER_INFO = RedisConstant.REDIS_CACHE + "index:user:";
    public static final String INDEX_ORG_INFO = RedisConstant.REDIS_CACHE + "index:org:";
    public static final String INDEX_DEVICE_INFO = RedisConstant.REDIS_CACHE + "index:device";*/

}
